﻿using BoldBrick.SharePoint.CommonControls.DataObjects.Base;
using Microsoft.SharePoint;

namespace BoldBrick.OneIntranet.HR.DataObjects.Lists.LookupLists
{
	/// <summary>
	/// Metadata class of "Employment Types" list
	/// </summary>
	public class EmploymentTypesList : BaseList
	{
		#region ------ Columns --------------------------------------------------------------------

		public ListColumn EmploymentTypeColumn
		{
			get { return SiteColumns.EmploymentTypeColumn; }
		}

		public ListColumn EmploymentTypeNoMenuColumn
		{
			get { return SiteColumns.EmploymentTypeNoMenuColumn; }
		}

		public ListColumn EmploymentTypeWithMenuColumn
		{
			get { return SiteColumns.EmploymentTypeWithMenuColumn; }
		}

		#endregion

		public EmploymentTypesList()
		{
			this.EnableAttachments = false;
			this.OnQuickLaunch = false;
		}

		protected override string GetListTitleResourceKey()
		{
			return "List_EmploymentTypes_Title";
		}

		protected override string GetListNameResourceKey()
		{
			return "List_EmploymentTypes_Name";
		}

		protected override SPListTemplateType? GetListTemplateType()
		{
			return SPListTemplateType.GenericList;
		}
	}
}
